
import org.glassfish.jersey.media.multipart.MultiPartFeature;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.mvc.jsp.JspMvcFeature;
import org.glassfish.jersey.server.spring.scope.RequestContextFilter;
import resource.BookResource;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author root
 */
//public class AirResourceConfig extends Application{
public class AirResourceConfig extends ResourceConfig {

    public AirResourceConfig() {
        packages("resource");
        register(RequestContextFilter.class);
        register(JspMvcFeature.class);
        register(MultiPartFeature.class);
    }

}
